<layout name='Layout/ace_layout' />
{:W('PageHeader',array('name'=>'审批管理','search'=>'S'))}
<!--  功能操作区域  -->
<div class="operate panel panel-default">
	<div class="panel-body">
		<div class="pull-left" >
			<div class="btn-group">
				<a class="btn btn-sm btn-primary  dropdown-toggle" data-toggle="dropdown" href="#"> 移动到 <span class="caret"></span> </a>
				<ul class="dropdown-menu">
					<foreach name="group_list" item="vo">
						<li onclick="move_to('{$key}');">
							<a>{$vo}</a>
						</li>
					</foreach>
				</ul>
			</div>
		</div >
		<div class="pull-right">
			<a  onclick="add();" class="btn btn-sm btn-primary">新建</a>
		</div>
	</div>
</div>
<!-- 功能操作区域结束 -->
<div class="ul_table border-bottom">
	<ul>
		<li class="thead"  >
			<label class="inline pull-left col-3">
				<input class="ace" type="checkbox" name="id-toggle-all" id="id-toggle-all" />
				<span class="lbl"></span></label>
			<span class="col-14">分组 </span>
			<span class="col-6 pull-right text-center">状态</span>
			<span  class="col-25 pull-right">文档编码格式</span>
			<span class="autocut auto">名称</span>
		</li>
		<empty name="list">
			<li class="no-data">
				没找到数据
			</li>
			<else/>
			<form method="post" action="" name="form_data" id="form_data">
				<foreach name="list" item="vo">
					<li class="tbody" >
						<label class="inline pull-left col-3">
							<input class="ace" type="checkbox" name="id[]" value="{$vo.id}" />
							<span class="lbl"></span></label>
						<span  class="col-14" >{$vo.group}&nbsp;</span>
						<span class="col-6 pull-right text-center"  >{$vo.is_del|status}&nbsp;</span>
						<span class="col-25 pull-right">{$vo.doc_no_format }&nbsp;</span>
						<span class="autocut auto"><a href="{:U('edit?id='.$vo['id'])}">{$vo.name}&nbsp;</a></span>
					</li>
				</foreach>
			</form>
		</empty>
	</ul>
</div>
